
import http from '@/util/request'
//公用
export default {
  list: {
    url: `${process.env.VUE_APP_API_URL}/SmartEvaluate/plan/getPlanPage.json`,
    name: "获取所有的计划",
    get: async function (params) {
      const dataObj = await http.get(this.url, params);
      return dataObj
    }
  },
  plan: {
    url: `${process.env.VUE_APP_API_URL}/SmartEvaluate/plan/getEvaluatedListByEvaluatorUserId.json`,
    name: "获取所有的计划",
    get: async function (params) {
      const dataObj = await http.get(this.url, params);
      return dataObj
    }
  }
  ,
  question: {
    url: `${process.env.VUE_APP_API_URL}/SmartEvaluate/question/getQaList`,
    name: "获取计划下标签下的题",
    get: async function (params) {
      const dataObj = await http.get(this.url, params);
      return dataObj
    }
  }
  ,
  submit: {
    url: `${process.env.VUE_APP_API_URL}/SmartEvaluate/question/submitAnswer`,
    name: "获取计划下标签下的题",
    post: async function (params) {
      const dataObj = await http.post(this.url, params);
      return dataObj
    }
  }
}
 
